import 'package:fish_redux/fish_redux.dart';

import 'adapter/adapter.dart';
import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class PayTeacherListPage
    extends Page<PayTeacherListState, Map<String, dynamic>> {
  PayTeacherListPage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<PayTeacherListState>(
              adapter: NoneConn<PayTeacherListState>() + PayAdapter(),
              slots: <String, Dependent<PayTeacherListState>>{}),
          middleware: <Middleware<PayTeacherListState>>[
            logMiddleware(tag: 'PayTeacherListPage'),
          ],
        );
}
